/**
 * Copyright 2010 Pavel Daniel Alexandru PFA
 * 
 * Licensed under the terms of the GNU Lesser General Public License version 3 
 * as published by the Free Software Foundation. You may obtain a copy of the
 * License at: http://www.gnu.org/copyleft/lesser.html
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations 
 * under the License. 
 */
package com.kobol.webclient.client.model;

/**
 * @author Pavel Alexandru
 * 
 */
public class AccountData {
    private static AccountRecord[] records;

    public static AccountRecord[] getRecords() {
	if (records == null) {
	    records = getNewRecords();
	}

	return records;
    }

    public static AccountRecord[] getNewRecords() {
	return new AccountRecord[] {
		new AccountRecord("account", "ABC Corporation Pty Ltd", "(02) 9251 6641", "Sydney", "Sean Doyle",
			"sales@uptick.com.au"),
		new AccountRecord("account", "DEF Corporation Pty Ltd", "(02) 9251 6642", "Canberra",
			"Mario Bernatovic", "sales@uptick.com.au"),
		new AccountRecord("account", "GHI Corporation Pty Ltd", "(02) 9251 6643", "Newcastle", "Rob Ferguson",
			"sales@uptick.com.au"),
		new AccountRecord("account", "JKL Corporation Pty Ltd", "(02) 9251 6644", "Newcastle",
			"Bruce Marshall", "sales@uptick.com.au"),
		new AccountRecord("account", "MNO Corporation Pty Ltd", "(02) 9251 6645", "New Lambton",
			"Mark Kirkpatrick", "sales@uptick.com.au"),
		new AccountRecord("account", "PQR Corporation Pty Ltd", "(02) 9251 6647", "Merewether", "Grahame King",
			"sales@uptick.com.au"),
		new AccountRecord("account", "STU Corporation Pty Ltd", "(02) 9251 6648", "The Junction", "Peter Wood",
			"sales@uptick.com.au"),
		new AccountRecord("account", "VWX Corporation Pty Ltd", "(02) 9251 6649", "Merewether", "Ross Hodge",
			"sales@uptick.com.au"),
		new AccountRecord("account", "YZA Corporation Pty Ltd", "(02) 9251 6610", "Brisbane", "Darren Poyner",
			"sales@uptick.com.au"),
		new AccountRecord("account", "123 Corporation Pty Ltd", "(02) 9251 6611", "Taree", "Carl Blick",
			"sales@uptick.com.au"),
		new AccountRecord("account", "456 Corporation Pty Ltd", "(02) 9251 6612", "Manly", "Mark Powrie",
			"sales@uptick.com.au"),
		new AccountRecord("account", "789 Corporation Pty Ltd", "(02) 9251 6613", "Geelong", "Jason Bance",
			"sales@uptick.com.au"),
		new AccountRecord("account", "101 Corporation Pty Ltd", "(02) 9251 6614", "Melbourne",
			"Patrick Keegan", "sales@uptick.com.au") };
    }
}